package net.zcy.zalllonely.modules.study.service.impl;

import net.zcy.zalllonely.modules.study.dao.StudentDao;
import net.zcy.zalllonely.modules.study.entity.Student;
import net.zcy.zalllonely.modules.study.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentDao studentDao;

    @Override
    public Student selectOne(Student student) {

        return studentDao.selectOne(student);
    }
}
